package com.unidue.foguing.task_A.pipeline;

import org.apache.uima.fit.factory.AnalysisEngineFactory;
import org.apache.uima.fit.factory.CollectionReaderFactory;
import org.apache.uima.fit.pipeline.SimplePipeline;

import com.unidue.foguing.evaluator.Evaluator;
import com.unidue.foguing.task_A.BaseLine_TaskA;
import com.unidue.foguing.task_A.Reader_TaskA;


public class PipeLine {

	public static void main(String[] args) throws Exception{
		SimplePipeline.runPipeline(
				CollectionReaderFactory.createReader(
						Reader_TaskA.class, Reader_TaskA.INPUT_FILE, "src/test/resources/test/tweeti-a-dist.txt"
						),
						AnalysisEngineFactory.createEngineDescription(BaseLine_TaskA.class),
						AnalysisEngineFactory.createEngineDescription(Evaluator.class));
						
	}

}
